package com.na.onlineservey

class Interviewer {
    Project     project
    String      name
    String      phoneNo1
    String      phoneNo2
    String      phone3
    String      address
    String      occupation
    Gender      gender
    Boolean     isTerminateInterview
    Boolean     isDemoInterview
    Boolean     isCompleteInterview
    Person      interviewBy
    Person      supervisor

    static constraints = {
        project(blank:false,nullable: false)
        name(blank:false,nullable: false)
        phoneNo1(blank:false,nullable: false)
        phoneNo2(blank:true,nullable: true)
        phone3(blank:true,nullable: true)
        address(blank:true,nullable: true)
        occupation(blank:true,nullable: true)
        gender(blank:true,nullable: true)
        isTerminateInterview(blank:true,nullable: true)
        isDemoInterview(blank:true,nullable: true)
        isCompleteInterview(blank:true,nullable: true)
        interviewBy(blank:false,nullable: false)
        supervisor(blank:false,nullable: false)
    }
}
